package com.quwan.manager.service;

import com.quwan.common.result.PageResult;
import com.quwan.entity.TCircleName;
import com.quwan.manager.controller.dto.CircleNameDto;

import java.util.List;

/**
 * @author laozhang
 * @date 2022/3/17
 */
public interface ICircleNameService {
    /**
     * 获取圈子名称列表 分页
     * @param page
     * @param size
     * @param circleTypeId
     * @param circleName
     * @param status
     * @return
     */
    PageResult<CircleNameDto>  getCircleNameListPage(int page, int size, Long circleTypeId, String circleName, Integer status);
    /**
     * 获取圈子名称列表
     * @param circleTypeId
     * @param circleName
     * @param status
     * @return
     */
    List<CircleNameDto> getCircleNameList(Long circleTypeId, String circleName, Integer status);
    /**
     * 增加圈子名称
     * @param circleName
     * @return
     */
    boolean addCircleName(TCircleName circleName);
    /**
     * 修改圈子名称
     * @param circleName
     * @return
     */
    boolean updateCircleName(TCircleName circleName);
    /**
     * 圈子名称详情
     * @param id
     * @return
     */
    TCircleName detailCircleName(Integer id);
    /**
     * 删除圈子名称
     * @param id
     * @return
     */
    boolean delCircleName(Integer id);

}
